package dxc;

import lombok.Data;

import java.util.concurrent.TimeUnit;
@Data
public class MyTask {
    Runnable runnable ;
    Long initialDelay ;
    Long time ;
    TimeUnit timeUnit= TimeUnit.SECONDS;
    public MyTask(Runnable runnable,Long initialDelay,Long time){
        this.runnable=runnable;
        this.initialDelay=initialDelay;
        this.time=time;
    }
}
